package org.co.controller;

import org.co.model.Student;

import org.co.service.impl.SelectStudentByIdImpl;

import java.util.List;

public class SelectStudentByIdController {
    static SelectStudentByIdImpl selectStudentById;
    static {
        selectStudentById = new SelectStudentByIdImpl();
    }

    public static void main(String[] args) {
        List<Student> studentListById = selectStudentById.selectStudentById(1);
        studentListById.forEach(System.out::println);
    }
}
